Integrand size = 37, antiderivative size = 168 \[ \int \frac {\sqrt {a+a \cos (c+d x)} \left (A+C \cos ^2(c+d x)\right )}{\cos ^{\frac {9}{2}}(c+d x)} \, dx=\frac {2 a A \sin (c+d x)}{35 d \cos ^{\frac {5}{2}}(c+d x) \sqrt {a+a \cos (c+d x)}}+\frac {2 a (24 A+35 C) \sin (c+d x)}{105 d \cos ^{\frac {3}{2}}(c+d x) \sqrt {a+a \cos (c+d x)}}+\frac {4 a (24 A+35 C) \sin (c+d x)}{105 d \sqrt {\cos (c+d x)} \sqrt {a+a \cos (c+d x)}}+\frac {2 A \sqrt {a+a \cos (c+d x)} \sin (c+d x)}{7 d \cos ^{\frac {7}{2}}(c+d x)} \]
2/35*a*A*sin(d*x+c)/d/cos(d*x+c)^(5/2)/(a+a*cos(d*x+c))^(1/2)+2/105*a*(24* A+35*C)*sin(d*x+c)/d/cos(d*x+c)^(3/2)/(a+a*cos(d*x+c))^(1/2)+4/105*a*(24*A +35*C)*sin(d*x+c)/d/cos(d*x+c)^(1/2)/(a+a*cos(d*x+c))^(1/2)+2/7*A*sin(d*x+ c)*(a+a*cos(d*x+c))^(1/2)/d/cos(d*x+c)^(7/2)
Time = 0.44 (sec) , antiderivative size = 101, normalized size of antiderivative = 0.60 \[ \int \frac {\sqrt {a+a \cos (c+d x)} \left (A+C \cos ^2(c+d x)\right )}{\cos ^{\frac {9}{2}}(c+d x)} \, dx=\frac {\sqrt {a (1+\cos (c+d x))} (54 A+35 C+3 (36 A+35 C) \cos (c+d x)+(24 A+35 C) \cos (2 (c+d x))+24 A \cos (3 (c+d x))+35 C \cos (3 (c+d x))) \tan \left (\frac {1}{2} (c+d x)\right )}{105 d \cos ^{\frac {7}{2}}(c+d x)} \]
(Sqrt[a*(1 + Cos[c + d*x])]*(54*A + 35*C + 3*(36*A + 35*C)*Cos[c + d*x] + (24*A + 35*C)*Cos[2*(c + d*x)] + 24*A*Cos[3*(c + d*x)] + 35*C*Cos[3*(c + d *x)])*Tan[(c + d*x)/2])/(105*d*Cos[c + d*x]^(7/2))
Time = 0.85 (sec) , antiderivative size = 177, normalized size of antiderivative = 1.05, number of steps used = 9, number of rules used = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.243, Rules used = {3042, 3523, 27, 3042, 3459, 3042, 3251, 3042, 3250}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {\sqrt {a \cos (c+d x)+a} \left (A+C \cos ^2(c+d x)\right )}{\cos ^{\frac {9}{2}}(c+d x)} \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \frac {\sqrt {a \sin \left (c+d x+\frac {\pi }{2}\right )+a} \left (A+C \sin \left (c+d x+\frac {\pi }{2}\right )^2\right )}{\sin \left (c+d x+\frac {\pi }{2}\right )^{9/2}}dx\) |
\(\Big \downarrow \) 3523 |
\(\displaystyle \frac {2 \int \frac {\sqrt {\cos (c+d x) a+a} (a A+a (4 A+7 C) \cos (c+d x))}{2 \cos ^{\frac {7}{2}}(c+d x)}dx}{7 a}+\frac {2 A \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{7 d \cos ^{\frac {7}{2}}(c+d x)}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {\int \frac {\sqrt {\cos (c+d x) a+a} (a A+a (4 A+7 C) \cos (c+d x))}{\cos ^{\frac {7}{2}}(c+d x)}dx}{7 a}+\frac {2 A \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{7 d \cos ^{\frac {7}{2}}(c+d x)}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\int \frac {\sqrt {\sin \left (c+d x+\frac {\pi }{2}\right ) a+a} \left (a A+a (4 A+7 C) \sin \left (c+d x+\frac {\pi }{2}\right )\right )}{\sin \left (c+d x+\frac {\pi }{2}\right )^{7/2}}dx}{7 a}+\frac {2 A \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{7 d \cos ^{\frac {7}{2}}(c+d x)}\) |
\(\Big \downarrow \) 3459 |
\(\displaystyle \frac {\frac {1}{5} a (24 A+35 C) \int \frac {\sqrt {\cos (c+d x) a+a}}{\cos ^{\frac {5}{2}}(c+d x)}dx+\frac {2 a^2 A \sin (c+d x)}{5 d \cos ^{\frac {5}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}}{7 a}+\frac {2 A \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{7 d \cos ^{\frac {7}{2}}(c+d x)}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\frac {1}{5} a (24 A+35 C) \int \frac {\sqrt {\sin \left (c+d x+\frac {\pi }{2}\right ) a+a}}{\sin \left (c+d x+\frac {\pi }{2}\right )^{5/2}}dx+\frac {2 a^2 A \sin (c+d x)}{5 d \cos ^{\frac {5}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}}{7 a}+\frac {2 A \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{7 d \cos ^{\frac {7}{2}}(c+d x)}\) |
\(\Big \downarrow \) 3251 |
\(\displaystyle \frac {\frac {1}{5} a (24 A+35 C) \left (\frac {2}{3} \int \frac {\sqrt {\cos (c+d x) a+a}}{\cos ^{\frac {3}{2}}(c+d x)}dx+\frac {2 a \sin (c+d x)}{3 d \cos ^{\frac {3}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}\right )+\frac {2 a^2 A \sin (c+d x)}{5 d \cos ^{\frac {5}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}}{7 a}+\frac {2 A \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{7 d \cos ^{\frac {7}{2}}(c+d x)}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\frac {1}{5} a (24 A+35 C) \left (\frac {2}{3} \int \frac {\sqrt {\sin \left (c+d x+\frac {\pi }{2}\right ) a+a}}{\sin \left (c+d x+\frac {\pi }{2}\right )^{3/2}}dx+\frac {2 a \sin (c+d x)}{3 d \cos ^{\frac {3}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}\right )+\frac {2 a^2 A \sin (c+d x)}{5 d \cos ^{\frac {5}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}}{7 a}+\frac {2 A \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{7 d \cos ^{\frac {7}{2}}(c+d x)}\) |
\(\Big \downarrow \) 3250 |
\(\displaystyle \frac {\frac {2 a^2 A \sin (c+d x)}{5 d \cos ^{\frac {5}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}+\frac {1}{5} a (24 A+35 C) \left (\frac {2 a \sin (c+d x)}{3 d \cos ^{\frac {3}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}+\frac {4 a \sin (c+d x)}{3 d \sqrt {\cos (c+d x)} \sqrt {a \cos (c+d x)+a}}\right )}{7 a}+\frac {2 A \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{7 d \cos ^{\frac {7}{2}}(c+d x)}\) |
(2*A*Sqrt[a + a*Cos[c + d*x]]*Sin[c + d*x])/(7*d*Cos[c + d*x]^(7/2)) + ((2 *a^2*A*Sin[c + d*x])/(5*d*Cos[c + d*x]^(5/2)*Sqrt[a + a*Cos[c + d*x]]) + ( a*(24*A + 35*C)*((2*a*Sin[c + d*x])/(3*d*Cos[c + d*x]^(3/2)*Sqrt[a + a*Cos [c + d*x]]) + (4*a*Sin[c + d*x])/(3*d*Sqrt[Cos[c + d*x]]*Sqrt[a + a*Cos[c + d*x]])))/5)/(7*a)
3.2.77.3.1 Defintions of rubi rules used
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]/((c_.) + (d_.)*sin[(e_.) + ( f_.)*(x_)])^(3/2), x_Symbol] :> Simp[-2*b^2*(Cos[e + f*x]/(f*(b*c + a*d)*Sq rt[a + b*Sin[e + f*x]]*Sqrt[c + d*Sin[e + f*x]])), x] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0]
Int[Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]*((c_.) + (d_.)*sin[(e_.) + ( f_.)*(x_)])^(n_), x_Symbol] :> Simp[(b*c - a*d)*Cos[e + f*x]*((c + d*Sin[e + f*x])^(n + 1)/(f*(n + 1)*(c^2 - d^2)*Sqrt[a + b*Sin[e + f*x]])), x] + Sim p[(2*n + 3)*((b*c - a*d)/(2*b*(n + 1)*(c^2 - d^2))) Int[Sqrt[a + b*Sin[e + f*x]]*(c + d*Sin[e + f*x])^(n + 1), x], x] /; FreeQ[{a, b, c, d, e, f}, x ] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && LtQ[n, -1] && NeQ[2*n + 3, 0] && IntegerQ[2*n]
Int[Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]*((A_.) + (B_.)*sin[(e_.) + ( f_.)*(x_)])*((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Simp [(-b^2)*(B*c - A*d)*Cos[e + f*x]*((c + d*Sin[e + f*x])^(n + 1)/(d*f*(n + 1) *(b*c + a*d)*Sqrt[a + b*Sin[e + f*x]])), x] + Simp[(A*b*d*(2*n + 3) - B*(b* c - 2*a*d*(n + 1)))/(2*d*(n + 1)*(b*c + a*d)) Int[Sqrt[a + b*Sin[e + f*x] ]*(c + d*Sin[e + f*x])^(n + 1), x], x] /; FreeQ[{a, b, c, d, e, f, A, B}, x ] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && LtQ[n, -1]
Int[((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_.)*((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)])^(n_)*((A_.) + (C_.)*sin[(e_.) + (f_.)*(x_)]^2), x_Symbol] :> Simp[(-(c^2*C + A*d^2))*Cos[e + f*x]*(a + b*Sin[e + f*x])^m*((c + d*Sin[e + f*x])^(n + 1)/(d*f*(n + 1)*(c^2 - d^2))), x] + Simp[1/(b*d*(n + 1)*(c^2 - d^2)) Int[(a + b*Sin[e + f*x])^m*(c + d*Sin[e + f*x])^(n + 1)*Simp[A*d*(a *d*m + b*c*(n + 1)) + c*C*(a*c*m + b*d*(n + 1)) - b*(A*d^2*(m + n + 2) + C* (c^2*(m + 1) + d^2*(n + 1)))*Sin[e + f*x], x], x], x] /; FreeQ[{a, b, c, d, e, f, A, C, m}, x] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && !LtQ[m, -2^(-1)] && (LtQ[n, -1] || EqQ[m + n + 2, 0])
Time = 13.63 (sec) , antiderivative size = 99, normalized size of antiderivative = 0.59
method | result | size |
default | \(\frac {2 \sin \left (d x +c \right ) \left (48 A \left (\cos ^{3}\left (d x +c \right )\right )+70 C \left (\cos ^{3}\left (d x +c \right )\right )+24 A \left (\cos ^{2}\left (d x +c \right )\right )+35 C \left (\cos ^{2}\left (d x +c \right )\right )+18 A \cos \left (d x +c \right )+15 A \right ) \sqrt {a \left (1+\cos \left (d x +c \right )\right )}}{105 d \left (1+\cos \left (d x +c \right )\right ) \cos \left (d x +c \right )^{\frac {7}{2}}}\) | \(99\) |
parts | \(\frac {2 A \sin \left (d x +c \right ) \left (16 \left (\cos ^{3}\left (d x +c \right )\right )+8 \left (\cos ^{2}\left (d x +c \right )\right )+6 \cos \left (d x +c \right )+5\right ) \sqrt {a \left (1+\cos \left (d x +c \right )\right )}}{35 d \left (1+\cos \left (d x +c \right )\right ) \cos \left (d x +c \right )^{\frac {7}{2}}}+\frac {2 C \sin \left (d x +c \right ) \left (2 \cos \left (d x +c \right )+1\right ) \sqrt {a \left (1+\cos \left (d x +c \right )\right )}}{3 d \left (1+\cos \left (d x +c \right )\right ) \cos \left (d x +c \right )^{\frac {3}{2}}}\) | \(126\) |
2/105/d*sin(d*x+c)*(48*A*cos(d*x+c)^3+70*C*cos(d*x+c)^3+24*A*cos(d*x+c)^2+ 35*C*cos(d*x+c)^2+18*A*cos(d*x+c)+15*A)*(a*(1+cos(d*x+c)))^(1/2)/(1+cos(d* x+c))/cos(d*x+c)^(7/2)
Time = 0.28 (sec) , antiderivative size = 97, normalized size of antiderivative = 0.58 \[ \int \frac {\sqrt {a+a \cos (c+d x)} \left (A+C \cos ^2(c+d x)\right )}{\cos ^{\frac {9}{2}}(c+d x)} \, dx=\frac {2 \, {\left (2 \, {\left (24 \, A + 35 \, C\right )} \cos \left (d x + c\right )^{3} + {\left (24 \, A + 35 \, C\right )} \cos \left (d x + c\right )^{2} + 18 \, A \cos \left (d x + c\right ) + 15 \, A\right )} \sqrt {a \cos \left (d x + c\right ) + a} \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right )}{105 \, {\left (d \cos \left (d x + c\right )^{5} + d \cos \left (d x + c\right )^{4}\right )}} \]
2/105*(2*(24*A + 35*C)*cos(d*x + c)^3 + (24*A + 35*C)*cos(d*x + c)^2 + 18* A*cos(d*x + c) + 15*A)*sqrt(a*cos(d*x + c) + a)*sqrt(cos(d*x + c))*sin(d*x + c)/(d*cos(d*x + c)^5 + d*cos(d*x + c)^4)
Timed out. \[ \int \frac {\sqrt {a+a \cos (c+d x)} \left (A+C \cos ^2(c+d x)\right )}{\cos ^{\frac {9}{2}}(c+d x)} \, dx=\text {Timed out} \]
Leaf count of result is larger than twice the leaf count of optimal. 475 vs. \(2 (144) = 288\).
Time = 0.36 (sec) , antiderivative size = 475, normalized size of antiderivative = 2.83 \[ \int \frac {\sqrt {a+a \cos (c+d x)} \left (A+C \cos ^2(c+d x)\right )}{\cos ^{\frac {9}{2}}(c+d x)} \, dx=\frac {2 \, {\left (\frac {35 \, C {\left (\frac {3 \, \sqrt {2} \sqrt {a} \sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} - \frac {4 \, \sqrt {2} \sqrt {a} \sin \left (d x + c\right )^{3}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{3}} + \frac {\sqrt {2} \sqrt {a} \sin \left (d x + c\right )^{5}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{5}}\right )} {\left (\frac {\sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} + 1\right )}^{2}}{{\left (\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + 1\right )}^{\frac {5}{2}} {\left (-\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + 1\right )}^{\frac {5}{2}} {\left (\frac {2 \, \sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} + \frac {\sin \left (d x + c\right )^{4}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{4}} + 1\right )}} + \frac {3 \, A {\left (\frac {35 \, \sqrt {2} \sqrt {a} \sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} - \frac {70 \, \sqrt {2} \sqrt {a} \sin \left (d x + c\right )^{3}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{3}} + \frac {84 \, \sqrt {2} \sqrt {a} \sin \left (d x + c\right )^{5}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{5}} - \frac {58 \, \sqrt {2} \sqrt {a} \sin \left (d x + c\right )^{7}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{7}} + \frac {9 \, \sqrt {2} \sqrt {a} \sin \left (d x + c\right )^{9}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{9}}\right )} {\left (\frac {\sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} + 1\right )}^{4}}{{\left (\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + 1\right )}^{\frac {9}{2}} {\left (-\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + 1\right )}^{\frac {9}{2}} {\left (\frac {4 \, \sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} + \frac {6 \, \sin \left (d x + c\right )^{4}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{4}} + \frac {4 \, \sin \left (d x + c\right )^{6}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{6}} + \frac {\sin \left (d x + c\right )^{8}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{8}} + 1\right )}}\right )}}{105 \, d} \]
2/105*(35*C*(3*sqrt(2)*sqrt(a)*sin(d*x + c)/(cos(d*x + c) + 1) - 4*sqrt(2) *sqrt(a)*sin(d*x + c)^3/(cos(d*x + c) + 1)^3 + sqrt(2)*sqrt(a)*sin(d*x + c )^5/(cos(d*x + c) + 1)^5)*(sin(d*x + c)^2/(cos(d*x + c) + 1)^2 + 1)^2/((si n(d*x + c)/(cos(d*x + c) + 1) + 1)^(5/2)*(-sin(d*x + c)/(cos(d*x + c) + 1) + 1)^(5/2)*(2*sin(d*x + c)^2/(cos(d*x + c) + 1)^2 + sin(d*x + c)^4/(cos(d *x + c) + 1)^4 + 1)) + 3*A*(35*sqrt(2)*sqrt(a)*sin(d*x + c)/(cos(d*x + c) + 1) - 70*sqrt(2)*sqrt(a)*sin(d*x + c)^3/(cos(d*x + c) + 1)^3 + 84*sqrt(2) *sqrt(a)*sin(d*x + c)^5/(cos(d*x + c) + 1)^5 - 58*sqrt(2)*sqrt(a)*sin(d*x + c)^7/(cos(d*x + c) + 1)^7 + 9*sqrt(2)*sqrt(a)*sin(d*x + c)^9/(cos(d*x + c) + 1)^9)*(sin(d*x + c)^2/(cos(d*x + c) + 1)^2 + 1)^4/((sin(d*x + c)/(cos (d*x + c) + 1) + 1)^(9/2)*(-sin(d*x + c)/(cos(d*x + c) + 1) + 1)^(9/2)*(4* sin(d*x + c)^2/(cos(d*x + c) + 1)^2 + 6*sin(d*x + c)^4/(cos(d*x + c) + 1)^ 4 + 4*sin(d*x + c)^6/(cos(d*x + c) + 1)^6 + sin(d*x + c)^8/(cos(d*x + c) + 1)^8 + 1)))/d
Result contains complex when optimal does not.
Time = 235.47 (sec) , antiderivative size = 136951, normalized size of antiderivative = 815.18 \[ \int \frac {\sqrt {a+a \cos (c+d x)} \left (A+C \cos ^2(c+d x)\right )}{\cos ^{\frac {9}{2}}(c+d x)} \, dx=\text {Too large to display} \]
-67108864/105*sqrt(2)*sqrt(-tan(1/4*d*x + c)^4*tan(1/2*c)^8 + 14*tan(1/4*d *x + c)^4*tan(1/2*c)^6 - 24*tan(1/4*d*x + c)^3*tan(1/2*c)^7 + 6*tan(1/4*d* x + c)^2*tan(1/2*c)^8 + 56*tan(1/4*d*x + c)^3*tan(1/2*c)^5 - 84*tan(1/4*d* x + c)^2*tan(1/2*c)^6 + 24*tan(1/4*d*x + c)*tan(1/2*c)^7 - tan(1/2*c)^8 - 14*tan(1/4*d*x + c)^4*tan(1/2*c)^2 + 56*tan(1/4*d*x + c)^3*tan(1/2*c)^3 - 56*tan(1/4*d*x + c)*tan(1/2*c)^5 + 14*tan(1/2*c)^6 + tan(1/4*d*x + c)^4 - 24*tan(1/4*d*x + c)^3*tan(1/2*c) + 84*tan(1/4*d*x + c)^2*tan(1/2*c)^2 - 56 *tan(1/4*d*x + c)*tan(1/2*c)^3 - 6*tan(1/4*d*x + c)^2 + 24*tan(1/4*d*x + c )*tan(1/2*c) - 14*tan(1/2*c)^2 + 1)*(((((((((((((((24*I*A*e^(1071/2*I*c) + 35*I*C*e^(1071/2*I*c) + 9888*I*A*e^(1069/2*I*c) + 14420*I*C*e^(1069/2*I*c ) + 2031984*I*A*e^(1067/2*I*c) + 2963310*I*C*e^(1067/2*I*c) + 277704480*I* A*e^(1065/2*I*c) + 404985700*I*C*e^(1065/2*I*c) + 28395283080*I*A*e^(1063/ 2*I*c) + 41409787825*I*C*e^(1063/2*I*c) + 2317055099328*I*A*e^(1061/2*I*c) + 3379038686520*I*C*e^(1061/2*I*c) + 157173570904572*I*A*e^(1059/2*I*c) + 229211457569115*I*C*e^(1059/2*I*c) + 9116067112520400*I*A*e^(1057/2*I*c) + 13294264539070620*I*C*e^(1057/2*I*c) + 461500897581299376*I*A*e^(1055/2* I*c) + 673022142301616625*I*C*e^(1055/2*I*c) + 20716262514861630000*I*A*e^ (1053/2*I*c) + 30211216166899065165*I*C*e^(1053/2*I*c) + 83486537946074834 0484*I*A*e^(1051/2*I*c) + 1217512011651476633715*I*C*e^(1051/2*I*c) + 3051 0534784972127071680*I*A*e^(1049/2*I*c) + 44494529889682457653110*I*C*e^...
Time = 7.39 (sec) , antiderivative size = 479, normalized size of antiderivative = 2.85 \[ \int \frac {\sqrt {a+a \cos (c+d x)} \left (A+C \cos ^2(c+d x)\right )}{\cos ^{\frac {9}{2}}(c+d x)} \, dx=\frac {\sqrt {a+a\,\left (\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{2}\right )}\,\left (\frac {\left (96\,A+140\,C\right )\,1{}\mathrm {i}}{105\,d}-\frac {C\,{\mathrm {e}}^{c\,3{}\mathrm {i}+d\,x\,3{}\mathrm {i}}\,4{}\mathrm {i}}{3\,d}+\frac {C\,{\mathrm {e}}^{c\,4{}\mathrm {i}+d\,x\,4{}\mathrm {i}}\,4{}\mathrm {i}}{3\,d}-\frac {{\mathrm {e}}^{c\,7{}\mathrm {i}+d\,x\,7{}\mathrm {i}}\,\left (96\,A+140\,C\right )\,1{}\mathrm {i}}{105\,d}+\frac {{\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}\,\left (336\,A+280\,C\right )\,1{}\mathrm {i}}{105\,d}-\frac {{\mathrm {e}}^{c\,5{}\mathrm {i}+d\,x\,5{}\mathrm {i}}\,\left (336\,A+280\,C\right )\,1{}\mathrm {i}}{105\,d}\right )}{\sqrt {\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{2}}+{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}\,\sqrt {\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{2}}+3\,{\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}\,\sqrt {\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{2}}+3\,{\mathrm {e}}^{c\,3{}\mathrm {i}+d\,x\,3{}\mathrm {i}}\,\sqrt {\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{2}}+3\,{\mathrm {e}}^{c\,4{}\mathrm {i}+d\,x\,4{}\mathrm {i}}\,\sqrt {\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{2}}+3\,{\mathrm {e}}^{c\,5{}\mathrm {i}+d\,x\,5{}\mathrm {i}}\,\sqrt {\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{2}}+{\mathrm {e}}^{c\,6{}\mathrm {i}+d\,x\,6{}\mathrm {i}}\,\sqrt {\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{2}}+{\mathrm {e}}^{c\,7{}\mathrm {i}+d\,x\,7{}\mathrm {i}}\,\sqrt {\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{2}}} \]
((a + a*(exp(- c*1i - d*x*1i)/2 + exp(c*1i + d*x*1i)/2))^(1/2)*(((96*A + 1 40*C)*1i)/(105*d) - (C*exp(c*3i + d*x*3i)*4i)/(3*d) + (C*exp(c*4i + d*x*4i )*4i)/(3*d) - (exp(c*7i + d*x*7i)*(96*A + 140*C)*1i)/(105*d) + (exp(c*2i + d*x*2i)*(336*A + 280*C)*1i)/(105*d) - (exp(c*5i + d*x*5i)*(336*A + 280*C) *1i)/(105*d)))/((exp(- c*1i - d*x*1i)/2 + exp(c*1i + d*x*1i)/2)^(1/2) + ex p(c*1i + d*x*1i)*(exp(- c*1i - d*x*1i)/2 + exp(c*1i + d*x*1i)/2)^(1/2) + 3 *exp(c*2i + d*x*2i)*(exp(- c*1i - d*x*1i)/2 + exp(c*1i + d*x*1i)/2)^(1/2) + 3*exp(c*3i + d*x*3i)*(exp(- c*1i - d*x*1i)/2 + exp(c*1i + d*x*1i)/2)^(1/ 2) + 3*exp(c*4i + d*x*4i)*(exp(- c*1i - d*x*1i)/2 + exp(c*1i + d*x*1i)/2)^ (1/2) + 3*exp(c*5i + d*x*5i)*(exp(- c*1i - d*x*1i)/2 + exp(c*1i + d*x*1i)/ 2)^(1/2) + exp(c*6i + d*x*6i)*(exp(- c*1i - d*x*1i)/2 + exp(c*1i + d*x*1i) /2)^(1/2) + exp(c*7i + d*x*7i)*(exp(- c*1i - d*x*1i)/2 + exp(c*1i + d*x*1i )/2)^(1/2))